<%@ page pageEncoding="UTF-8" isELIgnored="false"%>
<%@taglib prefix="f" uri="http://www.slim3.org/functions"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>

<%@ taglib tagdir="/WEB-INF/tags" prefix="tags" %>

<!DOCTYPE html>
<html lang="ja">
<tags:header />
<body class="home">
	<div id="container">
		<tags:pageheader page="hoge" />
		<a href="/DeleteLogs">DeleteLogs</a>
		<div>
			<table>
				<thead>
					<tr>
						<th>service name</th>
						<th>method name</th>
						<th>request</th>
						<th>response</th>
						<th>spendTimeMilles</th>
					</tr>
				</thead>
				<tbody>
					<c:forEach var="e" items="${logs}">
						<tr>
							<td>${f:h(e.serviceName)}</td>
							<td>${f:h(e.methodName)}</td>
							<td>${f:h(e.requestString)}</td>
							<td>${f:h(e.responseString)}</td>
							<td>${f:h(e.spendTimeMilles)}</td>
						</tr>
					</c:forEach>
				</tbody>
			</table>
		</div>
	</div>
	<tags:footer />
</body>
</html>
